import { createApp } from "vue";
import App from "./App.vue";
import "@/styles/index.scss";
import router from "./router";
import "nprogress/nprogress.css";
import "virtual:svg-icons-register";
import "./permission";
import { setupElementPlus } from "@/plugins/elementPlus";
import "@/plugins/svgIcon"; // 全局图标
import { setupGlobCom } from "@/components/"; // 全局组件
import { store } from "./store";
const app = createApp(App);
setupElementPlus(app);
setupGlobCom(app);
app.use(store).use(router).mount("#app");
